package com.example.joke.test;

public class Children extends Parent {

    static {
        System.out.println("静态代码块子类：parentA: " + parentA);
    }

    {
        System.out.println("非静态代码块子类：parentA: " + parentA + "parentB: " + parentB);
    }

    public Children(int parentB) {
        super(parentB);
        System.out.println("构造函数子类：parentA: " + parentA + "parentB: " + parentB);
    }
}
